home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: Mailbox/MIME Entity
(archive/mbox).
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Newsgroup Content (archive/news)
| magic
| Supported |
100%
| dexvert
| Mailbox/MIME Entity (archive/mbox)
| magic
| Supported |
1%
| dexvert
| Text File (text/txt)
| fallback
| Supported |
100%
| file
| news text
| default
| |
99%
| file
| C source text
| default
| |
98%
| file
| C source, ASCII text
| default
| |
100%
| checkBytes
| Printable ASCII
| default
| |
100%
| dexmagic
| PrintFox/Pagefox WEAK
| default
| |
100%
| perlTextCheck
| Likely Text (Perl)
| default
| |
100%
| siegfried
| fmt/950 MIME Email (1.0)
| default
| |
100%
| detectItEasy
| Format: plain text[LF]
| default (weak)
| |
100%
| xdgMime
| message/news
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 50 61 74 68 3a 20 62 6c | 61 63 6b 2e 77 65 65 67 |Path: bl|ack.weeg|
|00000010| 2e 75 69 6f 77 61 2e 65 | 64 75 21 72 6f 62 69 6e |.uiowa.e|du!robin|
|00000020| 73 6f 6e 0a 46 72 6f 6d | 3a 20 54 68 65 20 41 6d |son.From|: The Am|
|00000030| 6f 72 70 68 6f 75 73 20 | 4d 61 73 73 20 3c 72 6f |orphous |Mass <ro|
|00000040| 62 69 6e 73 6f 6e 40 62 | 6c 75 65 2e 77 65 65 67 |binson@b|lue.weeg|
|00000050| 2e 75 69 6f 77 61 2e 65 | 64 75 3e 0a 4e 65 77 73 |.uiowa.e|du>.News|
|00000060| 67 72 6f 75 70 73 3a 20 | 63 6f 6d 70 2e 6c 61 6e |groups: |comp.lan|
|00000070| 67 2e 63 2c 63 6f 6d 70 | 2e 6c 61 6e 67 2e 63 2b |g.c,comp|.lang.c+|
|00000080| 2b 0a 53 75 62 6a 65 63 | 74 3a 20 52 65 3a 20 48 |+.Subjec|t: Re: H|
|00000090| 20 45 20 4c 20 50 0a 44 | 61 74 65 3a 20 54 75 65 | E L P.D|ate: Tue|
|000000a0| 2c 20 32 20 41 70 72 20 | 31 39 39 36 20 31 36 3a |, 2 Apr |1996 16:|
|000000b0| 34 36 3a 34 35 20 2d 30 | 36 30 30 0a 4f 72 67 61 |46:45 -0|600.Orga|
|000000c0| 6e 69 7a 61 74 69 6f 6e | 3a 20 55 6e 69 76 65 72 |nization|: Univer|
|000000d0| 73 69 74 79 20 6f 66 20 | 49 6f 77 61 2c 20 49 6f |sity of |Iowa, Io|
|000000e0| 77 61 20 43 69 74 79 2c | 20 49 41 2c 20 55 53 41 |wa City,| IA, USA|
|000000f0| 0a 44 69 73 74 72 69 62 | 75 74 69 6f 6e 3a 20 77 |.Distrib|ution: w|
|00000100| 6f 72 6c 64 0a 4d 65 73 | 73 61 67 65 2d 49 44 3a |orld.Mes|sage-ID:|
|00000110| 20 3c 50 69 6e 65 2e 41 | 33 32 2e 33 2e 39 31 2e | <Pine.A|32.3.91.|
|00000120| 39 36 30 34 30 32 31 36 | 33 37 32 39 2e 38 38 34 |96040216|3729.884|
|00000130| 35 38 41 2d 31 30 30 30 | 30 30 40 62 6c 61 63 6b |58A-1000|00@black|
|00000140| 2e 77 65 65 67 2e 75 69 | 6f 77 61 2e 65 64 75 3e |.weeg.ui|owa.edu>|
|00000150| 0a 52 65 66 65 72 65 6e | 63 65 73 3a 20 3c 4e 2e |.Referen|ces: <N.|
|00000160| 30 34 30 32 39 36 2e 30 | 31 33 30 34 37 2e 31 38 |040296.0|13047.18|
|00000170| 40 44 79 6e 61 6d 69 63 | 50 50 50 2d 31 38 35 2e |@Dynamic|PPP-185.|
|00000180| 48 49 50 2e 43 41 4d 2e | 4f 52 47 3e 20 3c 50 69 |HIP.CAM.|ORG> <Pi|
|00000190| 6e 65 2e 41 33 32 2e 33 | 2e 39 31 2e 39 36 30 34 |ne.A32.3|.91.9604|
|000001a0| 30 32 31 33 35 30 30 31 | 2e 31 32 31 37 31 39 42 |02135001|.121719B|
|000001b0| 2d 31 30 30 30 30 30 40 | 67 72 65 65 6e 2e 77 65 |-100000@|green.we|
|000001c0| 65 67 2e 75 69 6f 77 61 | 2e 65 64 75 3e 20 3c 34 |eg.uiowa|.edu> <4|
|000001d0| 6a 73 36 6a 68 24 6e 64 | 72 40 73 6f 6c 75 74 69 |js6jh$nd|r@soluti|
|000001e0| 6f 6e 73 2e 73 6f 6c 6f | 6e 2e 63 6f 6d 3e 0a 4e |ons.solo|n.com>.N|
|000001f0| 4e 54 50 2d 50 6f 73 74 | 69 6e 67 2d 48 6f 73 74 |NTP-Post|ing-Host|
|00000200| 3a 20 62 6c 61 63 6b 2e | 77 65 65 67 2e 75 69 6f |: black.|weeg.uio|
|00000210| 77 61 2e 65 64 75 0a 4d | 69 6d 65 2d 56 65 72 73 |wa.edu.M|ime-Vers|
|00000220| 69 6f 6e 3a 20 31 2e 30 | 0a 43 6f 6e 74 65 6e 74 |ion: 1.0|.Content|
|00000230| 2d 54 79 70 65 3a 20 54 | 45 58 54 2f 50 4c 41 49 |-Type: T|EXT/PLAI|
|00000240| 4e 3b 20 63 68 61 72 73 | 65 74 3d 55 53 2d 41 53 |N; chars|et=US-AS|
|00000250| 43 49 49 0a 58 2d 53 65 | 6e 64 65 72 3a 20 72 6f |CII.X-Se|nder: ro|
|00000260| 62 69 6e 73 6f 6e 40 62 | 6c 61 63 6b 2e 77 65 65 |binson@b|lack.wee|
|00000270| 67 2e 75 69 6f 77 61 2e | 65 64 75 0a 49 6e 2d 52 |g.uiowa.|edu.In-R|
|00000280| 65 70 6c 79 2d 54 6f 3a | 20 3c 34 6a 73 36 6a 68 |eply-To:| <4js6jh|
|00000290| 24 6e 64 72 40 73 6f 6c | 75 74 69 6f 6e 73 2e 73 |$ndr@sol|utions.s|
|000002a0| 6f 6c 6f 6e 2e 63 6f 6d | 3e 20 0a 0a 4f 6e 20 32 |olon.com|> ..On 2|
|000002b0| 20 41 70 72 20 31 39 39 | 36 2c 20 50 65 74 65 72 | Apr 199|6, Peter|
|000002c0| 20 53 65 65 62 61 63 68 | 20 77 72 6f 74 65 3a 0a | Seebach| wrote:.|
|000002d0| 0a 3e 20 54 68 65 20 41 | 6d 6f 72 70 68 6f 75 73 |.> The A|morphous|
|000002e0| 20 4d 61 73 73 20 20 3c | 72 6f 62 69 6e 73 6f 6e | Mass <|robinson|
|000002f0| 40 62 6c 75 65 2e 77 65 | 65 67 2e 75 69 6f 77 61 |@blue.we|eg.uiowa|
|00000300| 2e 65 64 75 3e 20 77 72 | 6f 74 65 3a 0a 3e 20 3e |.edu> wr|ote:.> >|
|00000310| 4f 6e 20 54 75 65 2c 20 | 32 20 41 70 72 20 31 39 |On Tue, |2 Apr 19|
|00000320| 39 36 20 72 61 6d 72 6f | 64 40 63 61 6d 2e 6f 72 |96 ramro|d@cam.or|
|00000330| 67 20 77 72 6f 74 65 3a | 0a 3e 20 0a 3e 20 3e 3e |g wrote:|.> .> >>|
|00000340| 20 54 68 65 20 70 61 72 | 74 20 74 68 61 74 20 49 | The par|t that I|
|00000350| 20 61 6d 20 68 61 76 69 | 6e 67 20 61 20 68 61 72 | am havi|ng a har|
|00000360| 64 20 74 69 6d 65 20 77 | 69 74 68 20 69 73 20 74 |d time w|ith is t|
|00000370| 68 65 20 70 61 72 74 20 | 74 68 61 74 0a 3e 20 3e |he part |that.> >|
|00000380| 3e 20 77 68 61 74 65 76 | 65 72 20 6e 75 6d 62 65 |> whatev|er numbe|
|00000390| 72 20 49 20 65 6e 74 65 | 72 20 66 6f 72 20 74 68 |r I ente|r for th|
|000003a0| 65 20 61 67 65 2c 20 49 | 27 6d 20 73 75 70 70 6f |e age, I|'m suppo|
|000003b0| 73 65 64 20 74 6f 20 67 | 65 74 20 74 68 65 20 73 |sed to g|et the s|
|000003c0| 61 6d 65 20 6e 75 6d 62 | 65 72 0a 3e 20 3e 3e 20 |ame numb|er.> >> |
|000003d0| 6f 66 20 68 61 70 70 79 | 20 66 61 63 65 73 2c 20 |of happy| faces, |
|000003e0| 61 75 74 6f 6d 61 74 69 | 63 61 6c 6c 79 2e 20 20 |automati|cally. |
|000003f0| 46 6f 72 20 65 78 61 6d | 70 6c 65 20 49 66 20 49 |For exam|ple If I|
|00000400| 20 73 61 79 20 49 20 61 | 6d 20 34 35 20 79 65 61 | say I a|m 45 yea|
|00000410| 72 73 20 6f 6c 64 2c 0a | 3e 20 3e 3e 20 74 68 65 |rs old,.|> >> the|
|00000420| 6e 20 74 68 65 20 70 72 | 6f 67 72 61 6d 20 73 68 |n the pr|ogram sh|
|00000430| 6f 75 6c 64 20 73 68 6f | 77 20 34 35 20 68 61 70 |ould sho|w 45 hap|
|00000440| 70 79 20 66 61 63 65 73 | 2e 0a 3e 20 0a 3e 20 3e |py faces|..> .> >|
|00000450| 20 20 59 6f 75 20 6e 65 | 65 64 20 61 20 6c 6f 6f | You ne|ed a loo|
|00000460| 70 2e 20 20 4c 6f 6f 6b | 20 75 70 20 74 68 65 20 |p. Look| up the |
|00000470| 66 6f 72 2c 20 77 68 69 | 6c 65 2c 20 61 6e 64 20 |for, whi|le, and |
|00000480| 64 6f 20 77 68 69 6c 65 | 20 6c 6f 6f 70 20 63 6f |do while| loop co|
|00000490| 6e 73 74 72 75 63 74 73 | 20 20 69 6e 20 0a 3e 20 |nstructs| in .> |
|000004a0| 3e 79 6f 75 72 20 74 65 | 78 74 62 6f 6f 6b 2e 0a |>your te|xtbook..|
|000004b0| 3e 20 0a 3e 20 54 68 69 | 73 20 69 73 20 61 20 62 |> .> Thi|s is a b|
|000004c0| 69 74 20 73 74 72 6f 6e | 67 2e 20 20 59 6f 75 20 |it stron|g. You |
|000004d0| 64 6f 6e 27 74 20 2a 6e | 65 65 64 2a 20 61 20 6c |don't *n|eed* a l|
|000004e0| 6f 6f 70 2e 20 20 59 6f | 75 20 6a 75 73 74 20 70 |oop. Yo|u just p|
|000004f0| 72 6f 62 61 62 6c 79 20 | 77 61 6e 74 20 6f 6e 65 |robably |want one|
|00000500| 2e 0a 3e 20 0a 3e 20 4f | 62 76 69 6f 75 73 6c 79 |..> .> O|bviously|
|00000510| 2c 20 69 66 20 79 6f 75 | 27 72 65 20 61 73 73 75 |, if you|'re assu|
|00000520| 6d 69 6e 67 20 61 67 65 | 2c 20 79 6f 75 20 77 6f |ming age|, you wo|
|00000530| 75 6c 64 20 68 61 76 65 | 20 6e 6f 20 6d 6f 72 65 |uld have| no more|
|00000540| 20 74 68 61 6e 20 61 62 | 6f 75 74 20 31 35 30 20 | than ab|out 150 |
|00000550| 69 66 73 0a 3e 20 74 6f | 20 74 65 73 74 2c 20 28 |ifs.> to| test, (|
|00000560| 61 73 73 75 6d 69 6e 67 | 20 68 75 6d 61 6e 73 29 |assuming| humans)|
|00000570| 2c 20 61 6e 64 20 69 66 | 20 79 6f 75 20 6a 75 73 |, and if| you jus|
|00000580| 74 20 77 61 6e 74 20 74 | 6f 20 64 6f 20 69 74 20 |t want t|o do it |
|00000590| 66 6f 72 20 34 35 2c 20 | 69 74 27 73 20 65 76 65 |for 45, |it's eve|
|000005a0| 6e 0a 3e 20 65 61 73 69 | 65 72 2e 0a 0a 20 20 54 |n.> easi|er... T|
|000005b0| 68 61 74 27 73 20 74 72 | 75 65 2e 20 20 41 63 74 |hat's tr|ue. Act|
|000005c0| 75 61 6c 6c 79 2c 20 73 | 6f 6d 65 74 68 69 6e 67 |ually, s|omething|
|000005d0| 20 6c 69 6b 65 0a 0a 20 | 20 63 68 61 72 20 2a 73 | like.. | char *s|
|000005e0| 6d 69 6c 65 79 73 5b 5d | 20 3d 20 7b 20 22 22 2c |mileys[]| = { "",|
|000005f0| 20 22 3a 2d 29 22 2c 20 | 22 3a 2d 29 20 3a 2d 29 | ":-)", |":-) :-)|
|00000600| 22 2c 20 22 3a 2d 29 20 | 3a 2d 29 20 3a 2d 29 22 |", ":-) |:-) :-)"|
|00000610| 20 2f 2a 20 65 74 63 2e | 20 2a 2f 20 7d 3b 0a 0a | /* etc.| */ };..|
|00000620| 20 20 77 6f 75 6c 64 20 | 67 72 65 61 74 6c 79 20 | would |greatly |
|00000630| 73 70 65 65 64 20 75 70 | 20 74 68 65 20 70 72 6f |speed up| the pro|
|00000640| 67 72 61 6d 73 20 70 65 | 72 66 6f 72 6d 61 6e 63 |grams pe|rformanc|
|00000650| 65 20 61 6e 64 20 63 6c | 61 72 69 74 79 20 2d 2d |e and cl|arity --|
|00000660| 20 0a 69 74 20 77 6f 75 | 6c 64 20 62 65 20 61 73 | .it wou|ld be as|
|00000670| 20 73 69 6d 70 6c 65 20 | 61 73 3a 0a 0a 23 69 6e | simple |as:..#in|
|00000680| 63 6c 75 64 65 20 3c 73 | 74 64 69 6f 2e 68 3e 0a |clude <s|tdio.h>.|
|00000690| 69 6e 74 20 6d 61 69 6e | 28 76 6f 69 64 29 0a 7b |int main|(void).{|
|000006a0| 0a 20 20 20 20 69 6e 74 | 20 61 67 65 3b 0a 20 20 |. int| age;. |
|000006b0| 20 20 73 63 61 6e 66 28 | 22 25 64 22 2c 20 26 61 | scanf(|"%d", &a|
|000006c0| 67 65 29 3b 0a 20 20 20 | 20 69 66 20 28 61 67 65 |ge);. | if (age|
|000006d0| 20 3c 20 30 20 7c 7c 20 | 61 67 65 20 3e 20 31 35 | < 0 || |age > 15|
|000006e0| 30 29 20 70 72 69 6e 74 | 66 28 22 56 65 72 79 20 |0) print|f("Very |
|000006f0| 66 75 6e 6e 79 2c 20 64 | 6f 67 62 72 65 61 74 68 |funny, d|ogbreath|
|00000700| 2e 5c 6e 22 29 3b 0a 20 | 20 20 20 65 6c 73 65 20 |.\n");. | else |
|00000710| 70 72 69 6e 74 66 28 22 | 59 6f 75 27 72 65 20 25 |printf("|You're %|
|00000720| 64 20 79 65 61 72 73 20 | 79 6f 75 6e 67 21 5c 6e |d years |young!\n|
|00000730| 5c 6e 25 73 5c 6e 22 2c | 20 61 67 65 2c 20 73 6d |\n%s\n",| age, sm|
|00000740| 69 6c 65 79 73 5b 61 67 | 65 5d 29 3b 0a 20 20 20 |ileys[ag|e]);. |
|00000750| 20 72 65 74 75 72 6e 20 | 30 3b 0a 7d 0a 0a 20 20 | return |0;.}.. |
|00000760| 2f 54 72 65 73 20 65 6c | 65 67 61 6e 74 2f 2c 20 |/Tres el|egant/, |
|00000770| 62 6c 61 7a 69 6e 67 6c | 79 20 66 61 73 74 2c 20 |blazingl|y fast, |
|00000780| 61 6e 64 20 6d 75 63 68 | 20 6d 6f 72 65 20 2f 73 |and much| more /s|
|00000790| 6f 70 68 69 73 74 69 71 | 75 65 2f 20 74 68 61 6e |ophistiq|ue/ than|
|000007a0| 20 61 20 6c 6f 77 6c 79 | 20 0a 77 68 69 6c 65 28 | a lowly| .while(|
|000007b0| 29 20 6c 6f 6f 70 2e 0a | 0a 2f 2a 2a 4a 61 6d 65 |) loop..|./**Jame|
|000007c0| 73 20 52 6f 62 69 6e 73 | 6f 6e 2a 2a 2a 2a 2a 2a |s Robins|on******|
|000007d0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000007e0| 2a 20 20 20 20 20 20 20 | 20 20 20 20 20 0a 20 20 |* | . |
|000007f0| 22 41 6e 20 69 6d 70 6f | 72 74 61 6e 74 20 67 6f |"An impo|rtant go|
|00000800| 61 6c 20 6f 66 20 61 6c | 6d 6f 73 74 20 65 76 65 |al of al|most eve|
|00000810| 72 79 20 67 72 61 70 68 | 69 63 73 20 70 72 6f 67 |ry graph|ics prog|
|00000820| 72 61 6d 20 69 73 20 74 | 6f 20 64 72 61 77 20 70 |ram is t|o draw p|
|00000830| 69 63 74 75 72 65 73 20 | 6f 6e 0a 20 74 68 65 20 |ictures |on. the |
|00000840| 73 63 72 65 65 6e 2e 22 | 20 20 20 20 2d 2d 20 4e |screen."| -- N|
|00000850| 65 69 64 65 72 2c 20 44 | 61 76 69 73 20 26 20 57 |eider, D|avis & W|
|00000860| 6f 6f 2c 20 5f 4f 70 65 | 6e 47 4c 5f 50 72 6f 67 |oo, _Ope|nGL_Prog|
|00000870| 72 61 6d 6d 69 6e 67 5f | 47 75 69 64 65 5f 2c 20 |ramming_|Guide_, |
|00000880| 43 68 61 70 74 65 72 20 | 31 30 0a 20 20 20 20 20 |Chapter |10. |
|00000890| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000008a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000008b0| 20 20 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 6a | ******|*******j|
|000008c0| 61 6d 65 73 2d 72 6f 62 | 69 6e 73 6f 6e 40 75 69 |ames-rob|inson@ui|
|000008d0| 6f 77 61 2e 65 64 75 2a | 2a 2f 0a 0a 0a 0a |owa.edu*|*/.... |
+--------+-------------------------+-------------------------+--------+--------+